../../../../../lib/idx_cost.m